﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Model
{
    public class Activity//活动申请表
    {
        [Key]
        public int id { get; set; }//申请表ID
        public string Activity_NAME { get; set; }//活动名称
        public string AName { get; set; }//申请人
        public int Depar_ID { get; set; }//申请人部门
        public string remarks { get; set; }//备注
        public string place { get; set; }//地点
        public DateTime ACREATE_DATE { get; set; }//活动创建时间
        public DateTime Adate { get; set; }//活动时间
        public string funds { get; set; }//经费
        public int Job_ID { get; set; }//审批人
        [ForeignKey("Job_ID")]
        public virtual Position Position { get; set; }
        public int Aid { get; set; }//状态
        [ForeignKey("Aid")]
        public virtual Astate  Astate { get; set; }
    }
}
